home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 4
/
Precision Software Applications Silver Collection Volume 4 (1993).iso
/
organise
/
snc10.arj
/
SAMPLE3.SML
< prev
next >
Wrap
Text File
|
1993-02-19
|
3KB
|
132 lines
SAMPLE3.SML
First, set up some reasonable defaults
:begin_defaults
:expire_date 12/31/1994
:expire true
:bg_color green
:fg_color black
:title Another Sticky! from Fred!
:user_name Fred
:group_name Looking Glass Technologies
:end_defaults
------------------------------------------------------
:begin_note
:title Applet Demo
In each link, we must define the program and icon
source file, but the other fields are left up to
our judgement (or lack thereof).
These links assume that you have the most common
Windows setup, i.e. c:\windows is your main Windows
directory. If you have Windows installed somewhere
else, you'll have to edit the directory references
below to make the resulting links work on your system.
:begin_link
:program notepad.exe
:working_dir c:\windows
:icon_source c:\windows\notepad.exe
:icon_number 0
:description Double-click here to run Notepad...
:startup_option normal
:run_on_alarm false
:end_link
:begin_link
:program write.exe
:working_dir c:\windows
:icon_source c:\windows\write.exe
:icon_number 0
:description ...and here to run Write....
:startup_option normal
:run_on_alarm 0
:end_link
:begin_link
:program cardfile.exe
:working_dir c:\windows
:icon_source c:\windows\cardfile.exe
:icon_number 0
:description ...and here to run Cardfile.
:startup_option normal
:run_on_alarm no
:end_link
:begin_link
:program clock.exe
:working_dir c:\windows
:icon_source c:\windows\clock.exe
:icon_number 0
:description ...and here to run Clock...
:startup_option normal
:run_on_alarm no
:end_link
:begin_link
:program calendar.exe
:working_dir c:\windows
:icon_source c:\windows\calendar.exe
:icon_number 0
:description ...and here for Calendar...
:startup_option normal
:run_on_alarm no
:end_link
:begin_link
:program calc.exe
:working_dir c:\windows
:icon_source c:\windows\calc.exe
:icon_number 0
:description ...and here for the Calculator...
:startup_option normal
:run_on_alarm no
:end_link
A wider note for the link buttons would be nice...
:w 350
:begin_text
Hit Ctrl-R to run all these applets, if you dare.
:end_text
:end_note
------------------------------------------------------
:begin_note
:title SNC: SAMPLE3.SML
:x 100
:y 80
:w 520
:h 175
:bg_color gray
:begin_text
The links on the other note in this demo won't \
work properly if you have an unusal configuration, \
or you have deleted some of the standard Windows \
applets from your system. In that case, trying to run the links \
won't do anything harmful, but Stickies! will tell \
you that each link can't be run, and it will ask \
you if you want to edit the link.
This is a good lesson if you'll be creating notes with \
SNC for other users: Be careful about the assumptions \
you make about Windows configurations!
:end_text
:end_note